package com.zhou.bpm.enmu;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/26 9:15
 */
public enum TaskAction {

    //审批动作：0-流程发起,1-默认值无意义,2-审批通过,3-退回上一节点,4-退回申请人节点,5-路由任意节点,6-发起人撤回,7-发起人作废
    PROCESS_INITIATION("0","流程发起"),
    THE_DEFAULT_VALUE("1","默认值无意义"),
    APPROVED("2","审批通过"),
    RETURN_TO_PREVIOUS_NODE("3","退回上一节点"),
    RETURN_TO_APPLICANT_NODE("4","退回申请人节点"),
    ROUTE_ANY_NODE("5","路由任意节点"),
    ORIGINATOR_WITHDRAWAL("6","发起人撤回"),
    ORIGINATOR_VOID("7","发起人作废");

    private String code;

    private String label;

    TaskAction(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
